/*
 ============================================================================
 Name        : Utilities.h
 Author      : Stefan Nagel
 Version     : 0.0.1
 Copyright   : 2013 Stefan Nagel
 	 	 	 	This file is part of zeitmessanlage.
				zeitmessanlage is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
				zeitmessanlage is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
				You should have received a copy of the GNU General Public License along with zeitmessanlage. If not, see http://www.gnu.org/licenses/.
  Description : This is the header for little helper methods
 ============================================================================
 */

#ifndef UTILITIES_H_
#define UTILITIES_H_

extern struct timespec tsStartTime;
extern struct timespec tsStopTime;
extern int iStopFlag;



extern struct timespec Diff_TimeSpec(struct timespec start,struct timespec end);
extern void Print_Stopwatch(void);
extern void Wait(int);
extern void GetButton(int iButtonGpio);


#endif /* UTILITIES_H_ */
